@echo off

if "%BASEPATH%" == "" (
   if "%1"=="" (
      set BASEPATH=.
   ) else (
      set BASEPATH=%1
   )
)

call %BASEPATH%\buildEJBs.bat
call %BASEPATH%\buildBeans.bat
call %BASEPATH%\buildWebDispatcher.bat
call %BASEPATH%\buildWebClient.bat
call %BASEPATH%\buildWebChief.bat
call %BASEPATH%\buildWebAdmin.bat
call %BASEPATH%\buildWebExecutor.bat
call %BASEPATH%\buildWebLeadExecutor.bat
call %BASEPATH%\buildAjax.bat
call %BASEPATH%\buildLangProperties.bat
call %BASEPATH%\buildCommonAction.bat
call %BASEPATH%\buildCommonJSP.bat
call %BASEPATH%\copystaticcontent.bat